package com.financing.platform.dto;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 小程序产品关键字搜索未果结果记录
 * 
 * @author huqiyun
 *
 */
public class XcxSearchnoRecordDTO extends BaseDTO {

	private String openid;//用户openId
	private String wxUsername;//用户微信昵称
	private String wxUserhearimg;//用户微信头像
	private String feedbackStatus;//反馈状态：0：未反馈 1：已反馈(已未用户添加产品)
	private String keyword;//用户搜索未果关键字
	private Integer isGetMail; // 是否发送邮件 1 未发，2 已发
	private String searchType;// 搜索类型 0：按标签搜索 1：按关键字搜索

	private static final long serialVersionUID = 2212984706714655082L;

	/**
	 * 主键：数据库标示
	 */
	protected Integer id;

	/**
	 * 编码:业务标示
	 */
	private String code;

	/**
	 * 状态
	 */
	private String status;

	private Date createDate;

	private String createBy;

	private Date updateDate;

	private String updateBy;

	private String deleteTag;

	public String getDeleteTag() {
		return deleteTag;
	}

	public void setDeleteTag(String deleteTag) {
		this.deleteTag = deleteTag;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setOpenid(String openid) {
		this.openid = openid == null ? null : openid.trim();
	}

	public String getOpenid() {
		return openid;
	}

	public void setWxUsername(String wxUsername) {
		this.wxUsername = wxUsername == null ? null : wxUsername.trim();
	}

	public String getWxUsername() {
		return wxUsername;
	}

	public void setWxUserhearimg(String wxUserhearimg) {
		this.wxUserhearimg = wxUserhearimg == null ? null : wxUserhearimg.trim();
	}

	public String getWxUserhearimg() {
		return wxUserhearimg;
	}

	public void setFeedbackStatus(String feedbackStatus) {
		this.feedbackStatus = feedbackStatus == null ? null : feedbackStatus.trim();
	}

	public String getFeedbackStatus() {
		return feedbackStatus;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword == null ? null : keyword.trim();
	}

	public String getKeyword() {
		return keyword;
	}

	public Integer getIsGetMail() {
		return isGetMail;
	}

	public void setIsGetMail(Integer isGetMail) {
		this.isGetMail = isGetMail;
	}
	public void setSearchType(String searchType) {
		this.searchType = searchType == null ? null : searchType.trim();
	}

	public String getSearchType() {
		return searchType;
	}

}